package com.lhy.framework.beans.factory;

import com.lhy.framework.beans.BeansException;

/**
 * @ClassName BeanFactory
 * @Description
 * @Author lihaiyang
 * @Date 2022/9/8 22:15
 * @Version 1.0
 */
public interface BeanFactory {

    Object getBean(String beanName) throws BeansException;

    Object getBean(String beanName, Object... args) throws BeansException;

    <T> T getBean(String beanName, Class<T> requiredType) throws BeansException;
}
